package com.thunder.model;

import java.sql.Timestamp;

/**
 * Memory entity. @author MyEclipse Persistence Tools
 */

public class Memory implements java.io.Serializable {

	// Fields

	private Integer mid;
	private Integer uid;
	private String title;
	private Integer titletype;
	private String picture;
	private String content;
	private Integer replyid;
	private Timestamp publishdate;
	private Integer ischecked;

	// Constructors

	/** default constructor */
	public Memory() {
	}

	/** minimal constructor */
	public Memory(Integer uid, Integer titletype, Timestamp publishdate,
			Integer ischecked) {
		this.uid = uid;
		this.titletype = titletype;
		this.publishdate = publishdate;
		this.ischecked = ischecked;
	}

	/** full constructor */
	public Memory(Integer uid, String title, Integer titletype, String picture,
			String content, Integer replyid, Timestamp publishdate,
			Integer ischecked) {
		this.uid = uid;
		this.title = title;
		this.titletype = titletype;
		this.picture = picture;
		this.content = content;
		this.replyid = replyid;
		this.publishdate = publishdate;
		this.ischecked = ischecked;
	}

	// Property accessors

	public Integer getMid() {
		return this.mid;
	}

	public void setMid(Integer mid) {
		this.mid = mid;
	}

	public Integer getUid() {
		return this.uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getTitletype() {
		return this.titletype;
	}

	public void setTitletype(Integer titletype) {
		this.titletype = titletype;
	}

	public String getPicture() {
		return this.picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getReplyid() {
		return this.replyid;
	}

	public void setReplyid(Integer replyid) {
		this.replyid = replyid;
	}

	public Timestamp getPublishdate() {
		return this.publishdate;
	}

	public void setPublishdate(Timestamp publishdate) {
		this.publishdate = publishdate;
	}

	public Integer getIschecked() {
		return this.ischecked;
	}

	public void setIschecked(Integer ischecked) {
		this.ischecked = ischecked;
	}

}